#include "Material.h"

namespace DreamEngine
{

CMaterial::CMaterial(const CString& name):
m_name(name),
m_pVertexProgram(MATH_NULL),
m_pFragmentProgram(MATH_NULL),
m_cullMode(CULLMODE_NONE),
m_fillMode(FILLMODE_SOLID),
m_isZTestEnble(false)
{
}

CMaterial::~CMaterial(void)
{
}

void CMaterial::SetVertexProgram(CGpuProgram* pVertexProgram)
{
	m_pVertexProgram = pVertexProgram;
}

void CMaterial::SetFragmentProgram(CGpuProgram* pFragmentProgram)
{
	m_pFragmentProgram = pFragmentProgram;
}

}

